<?php defined( 'BASEPATH' ) or die( 'Restricted' );
/*
This code is copyright 2009-2010 by TMLA INC.  ALL RIGHTS RESERVED.
Please view license.txt in /tgsf_core/legal/license.txt or
http://tgWebSolutions.com/opensource/tgsf/license.txt
for complete licensing information.
*/
$config['max_spam_reports'] = 5;
$config['max_redirects'] = 3;
$config['max_tries'] = 4;
$config['cookie_file'] = BASEPATH . 'tgsf_core/cookies.txt';

$config['live_host'] = 'example.com';
$config['get_string']		= '/_/';
$config['get_separator']	= '/';
$config['get_equals']		= '/';

//------------------------------------------------------------------------

$config['maintenanceMode'] = false;
$config['maintenanceModeVar'] = ''; // customize this
$config['maintenanceModeVarValue'] = ''; // customize this

$config['css_minify'] = true;
$config['js_minify'] = true;

// site
$config['siteName'] = 'TGSF';

//output
$config['doctype'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">';
$config['content-type'] = 'text/html; charset=utf-8';

$config['server_id'] = current_server_id();


load_database_libraries();

//------------------------------------------------------------------------
// This code is not necessary, but works great for development teams
// where each team member can have their own setup
// the hash values are created using the current_server_id() function
// from the file located in tgsf_core/tgSimpleFramework.php
//------------------------------------------------------------------------
switch ( $config['server_id'] )
{
	// localhost - you need to put your own config file in.
case '3FFE3C79D0E84523AA1F69D974EA0F97':
	load_config( 'server_id/localhost' );
	break;

case '5321EF98CC0902216642F1362DF675EB':
	load_config( 'server_id/progchat' );
	break;

default:
	echo PHP_EOL . 'Update your config with your server ID: ' . $config['server_id'];
	if ( TGSF_CLI )
	{
		echo PHP_EOL;
		show_current_server_id_parts();
		echo PHP_EOL . PHP_EOL;
	}
	exit();
}


load_config( 'datetime' );
load_config( 'constants' );
